//
//  RequestManage.h
//  MUBATE
//
//  Created by sunbin on 2017/2/21.
//  Copyright © 2017年 Quanli. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface RequestManage : NSObject

+ (void)requestApi:(NSArray *)api params:(NSArray *)params model:(NSArray *)model
    responseCache :(void (^)(BOOL isHaveCash , NSInteger index ,NSDictionary *cashDic ,NSMutableArray *cashAry))cache
    refreshHeadler:(void (^)(int index))refresh
           success:(void (^)(NSDictionary * succesSults,NSMutableArray *dataAry , NSString* successRequestmsg ,NSInteger index))success
           failure:(void (^)(NSDictionary * failedSults ,NSMutableArray *arySults, responseState resMake, NSString* RequestError , NSInteger index))failed
           showHub:(void (^)(bool isShowHub ,NSInteger index))showHub;




@end
